
/**
  *2020年7月23日下午4:18:08
  */
package com.cy.servideImpl;
import java.util.List;
import org.springframework.stereotype.Service;

import com.cy.dao.Pagesdao;
import com.cy.dao.Picturedao;
import com.cy.dao.Userdao;
import com.cy.dao.Websdao;
import com.cy.pojo.Pagespojo;
import com.cy.pojo.Picturepojo;
import com.cy.pojo.Userpojo;
import com.cy.pojo.Webspojo;
import com.cy.service.PicService;

import lombok.extern.slf4j.Slf4j;






@Slf4j
@Service
public class PicServiceImpl  implements PicService {

		private Userdao userdao;
		private Websdao websdao;
		private Pagesdao pagesdao;
		private Picturedao picturedao;
		@Override
		public List<Picturepojo> findPic(String id) {
			
			
			
			/**Integer uid=1;
			Userpojo udao=userdao.selectRo(uid);
			Integer wid=1;
			Webspojo wdao=websdao.selectRo(wid);
			Integer yid=1;
			Pagespojo ydao=pagesdao.selectRo(yid);
			Integer pid=1;
			Picturepojo pdao=picturedao.selectRo(pid);
			String str;
			System.out.println(str=uid+"a"+wid+"a"+yid+"a"+pid+"a");
			String[] strArr = str.split(",");
			int[] intArr = new int[strArr.length];
			for (int i = 0; i < strArr.length; i++) {
			intArr[i] = Integer.parseInt(strArr[i]);
			}*/

//		前台传入用户及库id数据
			
//		wid=***a***
		
//		String[] ids=StrtoArr.toArr(id,"a");
		
//		ids取wid 查找全部yids的数据
		
		String yids=null;
		
		//String[] yid=StrtoArr.toArr(yids);
		


//		yid=1a1a1 1,1a1a2 2。
//		遍历yid相关组件值 压入图片的list组
//		数据库使用like
		
		List<Picturepojo> picpojo=null;
		
		System.out.println("findPic还没写");
		
		
			// TODO Auto-generated method stub
			return picpojo;
	}
	
}
